package com.jse.util;

import java.util.Map;

import org.nutz.ioc.impl.PropertiesProxy;
import org.nutz.lang.Lang;


/**
 * 代理Properties文件,以便直接在Ioc配置文件中使用
 * 
 * @author wendal(wendal1985@gmail.com)
 * @author zozoh(zozohtnt@gmail.com)
 * 
 * @since 1.b.37
 */
public class Prop extends PropertiesProxy {
	
	public Prop(String prop) {
		super(prop);
	}
	
	@SuppressWarnings({ "unchecked", "rawtypes" })
	public Map prefixMap(String prefix) {
		Map map =this;
		map=Lang.filter(map, prefix, null, null, null);
		return map;
	}
}
